<ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>App</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>

  <p>The followings will be triggered in sequence:</p>

  <h4>1. On entering</h4>
  <ol>
    <li>ionViewDidLoad</li>
    <li>ionViewWillEnter</li>
    <li>ionViewDidEnter</li>
  </ol>

  <h4>2. On leaving</h4>
  <ol>
    <li>ionViewWillLeave</li>
    <li>ionViewDidLeave</li>
    <li>ionViewWillUnload</li>
  </ol>

</ion-content>
